/* =====================================================================
   Boost CS 1.6 – stil comun pentru toate paginile
   (aceleași culori ca servers_main / Services / Home)
   ===================================================================== */
:root {
    --b-ink: #e6e8f8;
    --b-muted: #959ac4;
    --b-violet: #8a80c8;
    --b-blue: #6b93d6;
    --b-accent: #848cc2;
    --b-soft: #b3bbf5;
    --b-panel: #161931;
    --b-card: rgba(59, 65, 109, .26);
    --b-card-2: rgba(14, 16, 36, .5);
    --b-line: rgba(132, 140, 194, .2);
    --b-line-2: rgba(132, 140, 194, .1);
    --b-ok: #6fcf97;
    --b-bad: #e07a7a;
    --b-warn: #e0b060;
    --b-gold: #f5c84c;
    --b-grad: linear-gradient(135deg, var(--b-violet), var(--b-blue));
}

.b-page, .b-header, .b-footer, .b-side, .uk-modal-dialog { color: var(--b-ink); font-weight: 500; }
.b-page, .b-header, .b-footer, .b-side, .b-page *, .b-header *, .b-footer *, .b-side * { box-sizing: border-box; }
/* tema pune "box-sizing: content-box !important" pe input/button/textarea – îl anulăm în design-ul nou */
.b-page input, .b-page button, .b-page textarea, .b-page select,
.b-header input, .b-header button, .uk-modal-dialog input, .uk-modal-dialog button, .uk-modal-dialog select { box-sizing: border-box !important; }
@media (max-width: 760px) {
    .uk-container { padding-left: 12px !important; padding-right: 12px !important; }
    .tm-container { padding-right: 0 !important; margin-top: 12px !important; }
}
.b-page a, .b-header a, .b-footer a, .b-side a { text-decoration: none; }
.b-page { font-size: 13px; line-height: 1.55; }

/* Tema forțează h1–h6 la 14px cu !important; aici le dăm mărimile corecte */
.b-page h1, .b-page h2, .b-page h3, .b-page h4,
.uk-modal-dialog h1, .uk-modal-dialog h2, .uk-modal-dialog h3, .uk-modal-dialog h4 {
    margin: 0 0 10px !important; line-height: 1.3 !important; color: #fff !important; font-weight: 700 !important;
}
.b-page h1 { font-size: 1.5rem !important; }
.b-page h2 { font-size: 1.12rem !important; }
.b-page h3, .uk-modal-dialog h2, .uk-modal-dialog h3, .uk-modal-dialog h4 { font-size: 1rem !important; }
.b-page h4 { font-size: .92rem !important; }

/* ---------------------------------------------------------------------
   HEADER
   --------------------------------------------------------------------- */
.b-header { position: relative; z-index: 20; margin: 0 0 26px; padding: 12px 16px; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-panel); }
.b-header-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.b-logo { display: block; flex: none; line-height: 0; transition: opacity .15s; }
.b-logo img { height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.b-logo:hover { opacity: .8; }

.b-nav { order: 5; display: flex; align-items: center; gap: 4px; flex: 1 1 100%; min-width: 0; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--b-line-2); }
.b-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--b-muted) !important; white-space: nowrap; transition: color .15s, background .15s; }
.b-nav a i { font-size: 16px; }
.b-nav a:hover { color: #fff !important; background: rgba(132, 140, 194, .14); }
.b-nav a.active { color: #fff !important; background: rgba(132, 140, 194, .2); box-shadow: inset 0 -2px 0 var(--b-blue); }

.b-search { position: relative; flex: none; margin: 0 0 0 auto; }
.b-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--b-muted); pointer-events: none; }
.b-search input { width: 240px; height: 38px !important; font-size: .8rem !important; line-height: normal !important; margin: 0; padding: 0 14px 0 36px; border: 1px solid var(--b-line) !important; border-radius: 99px; background: rgba(10, 12, 28, .6) !important; color: var(--b-ink) !important; font: inherit; font-size: .8rem; outline: none; transition: width .2s, border-color .15s, box-shadow .15s; }
.b-search input:focus { width: 300px; border-color: var(--b-blue) !important; box-shadow: 0 0 0 3px rgba(107, 147, 214, .2); }
.b-search input::placeholder { color: rgba(149, 154, 196, .75); }

.b-user { display: flex; align-items: center; gap: 8px; flex: none; }
.b-user-chip { display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border: 1px solid var(--b-line); border-radius: 99px; background: rgba(14, 16, 36, .6); color: var(--b-ink) !important; transition: border-color .15s; }
.b-user-chip:hover { border-color: rgba(132, 140, 194, .5); }
.b-user-chip img { width: 30px; height: 30px; border-radius: 50%; }
.b-user-chip-text { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.b-user-chip b { display: block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 650; color: #fff; }
.b-user-chip small { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: .68rem; font-weight: 650; white-space: nowrap; color: var(--b-soft); background: rgba(132, 140, 194, .18); }
.b-icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; color: var(--b-muted) !important; background: rgba(132, 140, 194, .14); transition: color .15s, background .15s; }
.b-icon-btn:hover { color: #fff !important; background: rgba(132, 140, 194, .3); }
.b-icon-btn.b-logout:hover { color: var(--b-bad) !important; background: rgba(224, 122, 122, .16); }


.b-nav-toggle { display: none; }
.b-burger { display: none; place-items: center; width: 40px; height: 40px; margin: 0 0 0 auto; border-radius: 10px; cursor: pointer; font-size: 22px; color: var(--b-soft); background: rgba(132, 140, 194, .16); }

@media (max-width: 760px) {
    .b-header { padding: 10px 12px; }
    .b-logo img { height: 38px; }
    .b-burger { display: grid; }
    .b-search, .b-user { order: 6; }
    .b-search { flex: 1 1 100%; margin: 0; }
    .b-search input, .b-search input:focus { width: 100%; }
    .b-user { flex: 1 1 100%; justify-content: space-between; }
    .b-nav { display: none; flex-direction: column; align-items: stretch; }
    .b-nav-toggle:checked ~ .b-nav { display: flex; }
    .b-nav a { padding: 11px 12px; }
}

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.b-footer { position: relative; margin: 30px 0 20px; padding: 26px 28px 18px; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-panel); }
.b-footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--b-line-2); }
.b-footer-brand img { height: 42px; width: auto; margin-bottom: 10px; }
.b-footer-brand p { margin: 0; max-width: 340px; color: var(--b-muted); font-size: .8rem; line-height: 1.65; }
.b-footer h4 { margin: 0 0 12px !important; font-size: .74rem !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--b-soft) !important; line-height: 1.3 !important; }
.b-footer-links { display: flex; flex-direction: column; gap: 8px; }
.b-footer-links a { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--b-muted) !important; transition: color .15s; }
.b-footer-links a:hover { color: #fff !important; }
.b-footer-links a i { font-size: 15px; }
.b-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.b-pay span { display: flex; align-items: center; justify-content: center; width: 86px; height: 46px; padding: 8px 12px; border-radius: 10px; background: #fff; overflow: hidden; }
.b-pay span img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; object-fit: contain !important; }
.b-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; color: var(--b-muted); font-size: .76rem; }
.b-totop { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 20px; color: #fff !important; background: var(--b-grad); }
@media (max-width: 760px) {
    .b-footer { padding: 22px 16px 16px; }
    .b-footer-top { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------------------------------------------------------------------
   TITLU DE PAGINĂ
   --------------------------------------------------------------------- */
.b-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; }
.b-head > i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; color: #fff; background: var(--b-grad); box-shadow: 0 6px 18px rgba(80, 90, 160, .35); }
.b-head-text { min-width: 0; }
.b-page .b-head h1 { margin: 0 !important; }
.b-head-text span { display: block; margin-top: 2px; color: var(--b-muted); font-size: .8rem; }
.b-head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ---------------------------------------------------------------------
   CARDURI
   --------------------------------------------------------------------- */
.b-card { margin: 0 0 18px; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-card); overflow: hidden; }
.b-card-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--b-line); background: linear-gradient(90deg, rgba(138, 128, 200, .22), rgba(107, 147, 214, .12)); }
.b-card-head > i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; font-size: 16px; color: #fff; background: var(--b-grad); }
.b-page .b-card-head h2 { margin: 0 !important; font-size: .98rem !important; }
.b-card-head small { margin-left: auto; color: var(--b-muted); font-size: .76rem; }
.b-card-body { padding: 18px; }
.b-card-body > :last-child { margin-bottom: 0; }
.b-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.b-grid2 > .b-card { margin: 0; }
@media (max-width: 760px) { .b-grid2 { grid-template-columns: 1fr; } }

/* bloc cu statistici */
.b-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.b-stat { padding: 14px 16px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-card-2); }
.b-stat span { display: flex; align-items: center; gap: 6px; color: var(--b-muted); font-size: .74rem; }
.b-stat span i { font-size: 15px; }
.b-stat b { display: block; margin-top: 4px; font-size: 1.25rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
.b-stat b small { font-size: .7em; font-weight: 500; color: var(--b-muted); }

/* ---------------------------------------------------------------------
   PASTILE / ALERTE / GOL
   --------------------------------------------------------------------- */
.b-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-size: .74rem; font-weight: 650; color: var(--b-soft); background: rgba(132, 140, 194, .18); white-space: nowrap; }
.b-pill.ok { color: var(--b-ok); background: rgba(111, 207, 151, .14); }
.b-pill.bad { color: var(--b-bad); background: rgba(224, 122, 122, .14); }
.b-pill.warn { color: var(--b-warn); background: rgba(224, 176, 96, .14); }
.b-pill.ok::before, .b-pill.bad::before, .b-pill.warn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.b-alert, .uk-alert { display: block; margin: 0 0 16px; padding: 12px 16px; border: 1px solid rgba(107, 147, 214, .35); border-radius: 12px; background: rgba(107, 147, 214, .1); color: var(--b-ink); font-size: .84rem; line-height: 1.6; text-shadow: none; }
.b-alert p, .uk-alert p { margin: 0; }
.b-alert.warn, .uk-alert-warning { border-color: rgba(224, 176, 96, .4); background: rgba(224, 176, 96, .1); color: #f3d9a6; }
.b-alert.bad, .uk-alert-danger { border-color: rgba(224, 122, 122, .4); background: rgba(224, 122, 122, .1); color: #f4c3c3; }
.b-alert.ok, .uk-alert-success { border-color: rgba(111, 207, 151, .4); background: rgba(111, 207, 151, .1); color: #c9f1da; }
.b-alert { display: flex; align-items: flex-start; gap: 10px; }
.b-alert > i { flex: none; font-size: 18px; line-height: 1.3; }
.uk-alert .uk-close { float: right; opacity: .6; }

.b-empty { padding: 30px 16px; border: 1px dashed var(--b-line); border-radius: 12px; color: var(--b-muted); text-align: center; }
.b-empty i { display: block; margin-bottom: 8px; font-size: 30px; color: var(--b-accent); }

/* ---------------------------------------------------------------------
   BUTOANE
   --------------------------------------------------------------------- */
.b-btn, .uk-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 40px; padding: 0 20px; border: 0; border-radius: 9px; cursor: pointer;
    font: inherit; font-size: .78rem !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; text-shadow: none;
    color: #fff !important; background: var(--b-grad);
    transition: transform .15s, box-shadow .15s, opacity .15s, background .15s;
}
.b-btn:hover, .uk-button:hover, .uk-button:focus { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(80, 90, 160, .45); color: #fff !important; background: var(--b-grad); outline: none; }
.b-btn:disabled, .uk-button:disabled, .b-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.b-btn i { font-size: 17px; }
.b-btn.ghost, .uk-button.uk-modal-close { color: var(--b-soft) !important; background: rgba(132, 140, 194, .16); box-shadow: inset 0 0 0 1px var(--b-line); }
.b-btn.ghost:hover, .uk-button.uk-modal-close:hover { color: #fff !important; background: rgba(132, 140, 194, .3); }
.b-btn.danger, .uk-button-danger { background: linear-gradient(135deg, #d46a6a, #b04a6a) !important; }
.uk-button-success { background: linear-gradient(135deg, #4fb784, #3a9a8a) !important; }
.b-btn.block, .uk-button.uk-width-1-1 { width: 100%; }
.b-btn.lg, .uk-button-large { height: 46px; font-size: .84rem !important; }
.b-btn.sm, .uk-button-mini { height: 30px; padding: 0 12px; font-size: .7rem !important; border-radius: 7px; }

/* ---------------------------------------------------------------------
   FORMULARE
   --------------------------------------------------------------------- */
.b-field { display: block; margin: 0 0 14px; }
.b-field > span:first-child { display: block; margin-bottom: 6px; color: var(--b-muted); font-size: .76rem; font-weight: 600; }
.b-input,
.b-page input[type="text"], .b-page input[type="password"], .b-page input[type="email"], .b-page input[type="search"], .b-page input[type="number"], .b-page input:not([type]), .b-page select, .b-page textarea,
.uk-modal-dialog input[type="text"], .uk-modal-dialog input[type="password"], .uk-modal-dialog input:not([type]), .uk-modal-dialog select {
    width: 100%; height: 42px; padding: 0 14px;
    border: 1px solid var(--b-line) !important; border-radius: 9px;
    background: rgba(10, 12, 28, .6) !important; color: var(--b-ink) !important;
    font-family: inherit; font-size: .86rem !important; font-weight: 500; line-height: normal !important; outline: none; box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
/* tema dă înălțimi/padding mici câmpurilor – le fixăm */
.b-page input[type="text"], .b-page input[type="password"], .b-page input[type="email"], .b-page input[type="number"], .b-page input:not([type]), .b-page select,
.uk-modal-dialog input[type="text"], .uk-modal-dialog input[type="password"], .uk-modal-dialog input:not([type]), .uk-modal-dialog select { height: 42px !important; padding-top: 0 !important; padding-bottom: 0 !important; margin: 0; }
.b-page select, .uk-modal-dialog select { line-height: 40px !important; padding-right: 30px !important; }
.b-page textarea { height: auto; min-height: 100px; padding: 10px 14px; }
.b-page select option, .uk-modal-dialog select option { background: #1c1f3a; color: var(--b-ink); }
.b-input:focus, .b-page input:focus, .b-page select:focus, .b-page textarea:focus,
.uk-modal-dialog input:focus, .uk-modal-dialog select:focus { border-color: var(--b-blue) !important; box-shadow: 0 0 0 3px rgba(107, 147, 214, .2); background: rgba(10, 12, 28, .75) !important; }
.b-page input::placeholder, .uk-modal-dialog input::placeholder { color: rgba(149, 154, 196, .7); }
.b-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.b-row > * { flex: 1 1 160px; margin-bottom: 0; }
.b-row > .b-btn { flex: 0 0 auto; }
.b-captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.b-captcha > span { flex: none; line-height: 0; cursor: pointer; }
.b-captcha > span img { border-radius: 7px; }
.b-captcha input { flex: 1 1 150px; }

/* comutator (checkbox) */
.b-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--b-muted); font-size: .8rem; }
.b-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b-switch i { position: relative; flex: none; width: 40px; height: 22px; border-radius: 99px; background: rgba(132, 140, 194, .25); transition: background .2s; }
.b-switch i::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.b-switch input:checked + i { background: var(--b-grad); }
.b-switch input:checked + i::before { transform: translateX(18px); }
.b-switch input:focus-visible + i { outline: 2px solid var(--b-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   TABELE (+ DataTables)
   --------------------------------------------------------------------- */
.b-table-wrap { overflow-x: auto; }
.b-table, .b-page .dataTable { width: 100% !important; margin: 0 !important; border-collapse: collapse; border: 0 !important; background: transparent !important; }
.b-table th, .b-page .dataTable thead th { padding: 11px 16px !important; border: 0 !important; border-bottom: 1px solid var(--b-line) !important; background: transparent !important; color: var(--b-muted) !important; font-size: .72rem !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.b-table td, .b-page .dataTable tbody td { padding: 11px 16px !important; border: 0 !important; border-bottom: 1px solid var(--b-line-2) !important; background: transparent !important; color: var(--b-ink) !important; font-size: .84rem !important; vertical-align: middle; }
.b-table tbody tr:last-child td, .b-page .dataTable tbody tr:last-child td { border-bottom: 0 !important; }
.b-table tbody tr:hover td, .b-page .dataTable tbody tr:hover td { background: rgba(132, 140, 194, .07) !important; }
.b-page .dataTable tbody tr { background: transparent !important; }
.b-table img { vertical-align: -3px; border-radius: 2px; }
.b-table a { color: #fff; font-weight: 600; }
.b-table a:hover { color: var(--b-soft); }
.b-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-table .muted { color: var(--b-muted) !important; }
.b-table tr.current td { background: rgba(138, 128, 200, .14) !important; }
.b-table tr#empty td { padding: 30px 16px !important; color: var(--b-muted) !important; text-align: center; }
/* tabel cu coloane fixe: totul pe un rând, ce nu încape se termină cu … */
.b-table.fixed { table-layout: fixed; min-width: 640px; }
.b-table.fixed td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-table.fixed td img { margin-right: 2px; }
.b-table.fixed th:first-child, .b-table.fixed td:first-child { padding-right: 6px !important; }
#my_servers td:first-child, #my_servers th:first-child { text-overflow: clip; }
.b-table.fixed .b-pill { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.b-table.fixed tr#empty td { white-space: normal; }
.b-table.fixed .b-pill::before { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.b-table-actions { display: flex; gap: 6px; justify-content: flex-end; }
.b-table-actions i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--b-soft); background: rgba(132, 140, 194, .14); transition: background .15s, color .15s; }
.b-table-actions i:hover { color: #fff; background: rgba(132, 140, 194, .3); }
.b-table-actions i.uk-icon-trash-o:hover { color: var(--b-bad); background: rgba(224, 122, 122, .16); }
/* rândurile adăugate din JavaScript (fără .b-table-actions) */
#my_servers td > i.uk-icon-cog, #my_servers td > i.uk-icon-trash-o { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 4px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--b-soft); background: rgba(132, 140, 194, .14); }

.b-page .dataTables_wrapper { color: var(--b-muted); font-size: .8rem; }
.b-page .dt-panelmenu, .b-page .dt-panelfooter { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
.b-page .dt-panelmenu { border-bottom: 1px solid var(--b-line); }
.b-page .dt-panelfooter { border-top: 1px solid var(--b-line); }
.b-page .dt-panelmenu::after, .b-page .dt-panelfooter::after { display: none; }
.b-page .dataTables_length, .b-page .dataTables_filter, .b-page .dataTables_info, .b-page .dataTables_paginate { float: none !important; margin: 0 !important; padding: 0 !important; text-align: left !important; color: var(--b-muted) !important; }
.b-page .dataTables_length label, .b-page .dataTables_filter label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--b-muted); }
.b-page .dataTables_length select { width: auto !important; height: 34px !important; line-height: 32px !important; padding: 0 26px 0 10px !important; }
.b-page .dataTables_filter input { width: 200px !important; height: 34px !important; margin: 0 !important; }
.b-page .dataTables_processing { color: var(--b-soft); background: transparent; }
.b-page .dataTables_paginate ul, .b-page .dataTables_paginate .pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.b-page .dataTables_paginate li { margin: 0 !important; padding: 0; background: none !important; border: 0 !important; }
.b-page .dataTables_paginate li a, .b-page .dataTables_paginate a.paginate_button {
    display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px !important; margin: 0 !important;
    border: 1px solid var(--b-line) !important; border-radius: 8px !important; font-size: .78rem; font-weight: 600;
    color: var(--b-soft) !important; background: var(--b-card) !important; box-shadow: none !important; cursor: pointer;
}
.b-page .dataTables_paginate li a:hover, .b-page .dataTables_paginate a.paginate_button:hover { color: #fff !important; border-color: rgba(132, 140, 194, .5) !important; }
.b-page .dataTables_paginate li.current a, .b-page .dataTables_paginate a.paginate_button.current { color: #fff !important; border-color: transparent !important; background: var(--b-grad) !important; }
.b-page .dataTables_paginate li.unavailable a, .b-page .dataTables_paginate li.disabled a, .b-page .dataTables_paginate a.paginate_button.disabled { opacity: .4; cursor: default; }
.b-page table.dataTable thead .sorting, .b-page table.dataTable thead .sorting_asc, .b-page table.dataTable thead .sorting_desc { background-image: none !important; cursor: pointer; }
.b-page table.dataTable thead .sorting_asc::after { content: " ↑"; color: var(--b-soft); }
.b-page table.dataTable thead .sorting_desc::after { content: " ↓"; color: var(--b-soft); }

/* insignele puse din JavaScript (facturi) */
.uk-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-size: .72rem; font-weight: 650; line-height: 1.4; text-shadow: none; color: var(--b-soft); background: rgba(132, 140, 194, .18); }
.uk-badge-success { color: var(--b-ok) !important; background: rgba(111, 207, 151, .14) !important; }
.uk-badge-warning { color: var(--b-warn) !important; background: rgba(224, 176, 96, .14) !important; }
.uk-badge-danger { color: var(--b-bad) !important; background: rgba(224, 122, 122, .14) !important; }
.uk-badge-success::before, .uk-badge-warning::before, .uk-badge-danger::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------------------------------------------------------------------
   PAGINARE (paginile cu ?page=)
   --------------------------------------------------------------------- */
.b-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.b-pages a, .b-pages span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--b-line); border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--b-soft) !important; background: var(--b-card); transition: border-color .15s, color .15s; }
.b-pages a:hover { color: #fff !important; border-color: rgba(132, 140, 194, .5); }
.b-pages .active a { color: #fff !important; border-color: transparent; background: var(--b-grad); }
.b-pages span { border-color: transparent; background: none; }

/* ---------------------------------------------------------------------
   FERESTRE MODALE (UIkit)
   --------------------------------------------------------------------- */
.uk-modal { background: rgba(6, 7, 18, .72); }
.uk-modal-dialog { padding: 22px 24px; border: 1px solid var(--b-line); border-radius: 16px; background: #171a33; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.uk-modal-dialog > .uk-close, .uk-modal-dialog > .uk-modal-close.uk-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; margin: 0; border-radius: 8px; opacity: 1; color: var(--b-muted); background: rgba(132, 140, 194, .14); }
.uk-modal-dialog > .uk-close:hover { color: #fff; background: rgba(132, 140, 194, .3); }
.uk-modal-header { margin: -22px -24px 18px !important; padding: 18px 60px 16px 24px !important; border-bottom: 1px solid var(--b-line) !important; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, rgba(138, 128, 200, .22), rgba(107, 147, 214, .12)) !important; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.35 !important; color: #fff !important; text-transform: none !important; }
.uk-modal-header h2, .uk-modal-header h3, .uk-modal-header h4 { margin: 0 !important; }
.uk-modal-footer { margin: 18px -24px -22px !important; padding: 16px 24px !important; border-top: 1px solid var(--b-line) !important; background: transparent !important; }
.uk-modal-dialog hr { margin: 16px 0; border: 0; border-top: 1px solid var(--b-line); }
.uk-modal-dialog .uk-list-line > li { padding: 9px 0; border-top: 1px solid var(--b-line-2) !important; color: var(--b-ink); font-size: .84rem; }
.uk-modal-dialog .uk-list-line > li:first-child { border-top: 0 !important; }
.uk-modal-dialog .uk-list-line b { color: var(--b-muted); font-weight: 600; }
.uk-modal-dialog fieldset { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; border: 0; }
.uk-modal-dialog fieldset > * { margin: 0 !important; }
.uk-modal-dialog fieldset input { flex: 1 1 160px; width: auto; }
.uk-modal-dialog #cim { line-height: 0; cursor: pointer; }
.uk-modal-dialog #cim img { border-radius: 7px; }
.uk-modal-dialog #type { display: block; color: var(--b-muted); font-size: .86rem; }
.uk-modal-dialog .uk-grid { margin-left: -10px; }
.uk-modal-dialog .uk-grid > * { padding-left: 10px; }
.b-modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.b-modal-actions > * { flex: 1; }

/* tooltip-ul UIkit */
.uk-tooltip { padding: 6px 10px; border-radius: 7px; background: #23274a; color: var(--b-ink); font-size: .74rem; text-shadow: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }

/* ---------------------------------------------------------------------
   MENIUL DIN CABINET
   --------------------------------------------------------------------- */
.b-side { position: sticky; top: 20px; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-card); overflow: hidden; }
.b-side-user { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--b-line); background: linear-gradient(135deg, rgba(138, 128, 200, .24), rgba(107, 147, 214, .12)); }
.b-side-user img { flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(179, 187, 245, .35); }
.b-side-user b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; font-weight: 700; color: #fff; }
.b-side-user small { display: block; color: var(--b-muted); font-size: .74rem; }
.b-side-balance { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 12px 4px; padding: 10px 12px; border: 1px solid var(--b-line); border-radius: 10px; background: var(--b-card-2); }
.b-side-balance span { display: block; color: var(--b-muted); font-size: .7rem; }
.b-side-balance b { font-size: 1.05rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
.b-side-balance a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-size: 18px; color: #fff !important; background: var(--b-grad); }
.b-side-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.b-side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--b-muted) !important; transition: color .15s, background .15s; }
.b-side-nav a i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-size: 16px; background: rgba(132, 140, 194, .12); transition: background .15s, color .15s; }
.b-side-nav a:hover { color: #fff !important; background: rgba(132, 140, 194, .12); }
.b-side-nav a.active { color: #fff !important; background: rgba(132, 140, 194, .2); }
.b-side-nav a.active i { color: #fff; background: var(--b-grad); }
.b-side-nav a.b-logout:hover { color: var(--b-bad) !important; }
.b-side-nav hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--b-line-2); }
@media (max-width: 767px) { .b-side { position: static; margin-top: 20px; } }

/* ---------------------------------------------------------------------
   AUTENTIFICARE / ÎNREGISTRARE
   --------------------------------------------------------------------- */
.b-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 940px; margin: 10px auto 20px; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-card); overflow: hidden; }
.b-auth-side {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 420px; padding: 32px;
    background: url(images/back.jpg) center / cover;
}
.b-auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 26, .35), rgba(10, 11, 26, .92)); }
.b-page .b-auth-side h2 { margin: 0 !important; font-size: 1.6rem !important; }
.b-auth-side p { margin: 0; color: #c8cceb; font-size: .9rem; line-height: 1.65; }
.b-auth-perks { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.b-auth-perks li { display: flex; align-items: center; gap: 8px; color: #d5d8ee; font-size: .82rem; }
.b-auth-perks i { color: var(--b-ok); font-size: 17px; }
.b-auth-form { padding: 34px 32px; }
.b-page .b-auth-form h1 { margin: 0 0 4px !important; font-size: 1.45rem !important; }
.b-auth-form > p { margin: 0 0 22px; color: var(--b-muted); font-size: .84rem; }
.b-auth-form .b-btn { width: 100%; margin-top: 6px; }
.b-auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: .8rem; }
.b-auth-links a { color: var(--b-soft) !important; font-weight: 600; }
.b-auth-links a:hover { color: #fff !important; }
.b-input-icon { position: relative; display: block; }
.b-input-icon > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 17px; color: var(--b-muted); pointer-events: none; }
.b-page .b-input-icon input { padding-left: 40px; }
.b-auth-remember { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 14px; }
@media (max-width: 760px) {
    .b-auth { grid-template-columns: 1fr; }
    .b-auth-side { min-height: 180px; padding: 22px; }
    .b-auth-form { padding: 24px 18px; }
}

/* ---------------------------------------------------------------------
   PAGINI DE TEXT / MESAJE
   --------------------------------------------------------------------- */
.b-prose { color: #d5d8ee; font-size: .92rem; line-height: 1.75; }
.b-prose p { margin: 0 0 12px; }
.b-prose a { color: var(--b-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.b-prose a:hover { color: #fff; }
.b-prose ul, .b-prose ol { margin: 0 0 12px; padding-left: 20px; }
.b-prose li { margin-bottom: 6px; }
.b-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.b-prose table { width: 100%; margin: 0 0 14px; border-collapse: collapse; }
.b-prose th, .b-prose td { padding: 9px 12px; border: 1px solid var(--b-line); text-align: left; }
.b-prose th { color: var(--b-soft); background: rgba(132, 140, 194, .1); }
.b-prose hr { margin: 18px 0; border: 0; border-top: 1px solid var(--b-line); }
.b-prose blockquote { margin: 0 0 12px; padding: 10px 16px; border-left: 3px solid var(--b-blue); border-radius: 0 10px 10px 0; background: rgba(107, 147, 214, .08); }
.b-prose code { padding: 1px 6px; border-radius: 4px; font-size: .86em; color: var(--b-soft); background: rgba(132, 140, 194, .18); }

.b-message { max-width: 560px; margin: 30px auto; padding: 40px 30px; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-card); text-align: center; }
.b-message > i { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 20px; font-size: 34px; color: #fff; background: var(--b-grad); box-shadow: 0 10px 26px rgba(80, 90, 160, .45); }
.b-message > i.bad { background: linear-gradient(135deg, #d46a6a, #b04a6a); box-shadow: 0 10px 26px rgba(180, 70, 90, .4); }
.b-message > i.ok { background: linear-gradient(135deg, #4fb784, #3a9a8a); box-shadow: 0 10px 26px rgba(60, 160, 120, .4); }
.b-message .b-big { display: block; margin-bottom: 6px; font-size: 4.5rem; font-weight: 800; line-height: 1; background: var(--b-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-message p { margin: 0 auto 22px; max-width: 420px; color: var(--b-muted); font-size: .9rem; }

/* ---------------------------------------------------------------------
   Meniul paginii de server (Info / Settings / Stats)
   --------------------------------------------------------------------- */
.b-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px !important; padding: 5px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-card); list-style: none; }
.b-tabs li { margin: 0 !important; }
.b-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--b-muted) !important; text-decoration: none; transition: color .15s, background .15s; }
.b-tabs a i { font-size: 16px; }
.b-tabs a:hover { color: #fff !important; background: rgba(132, 140, 194, .14); }
.b-tabs .active a { color: #fff !important; background: var(--b-grad); }

/* ---------------------------------------------------------------------
   CARDURI SELECTABILE (metode de plată etc.)
   --------------------------------------------------------------------- */
.b-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.b-opt { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.b-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.b-opt-card { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-card); transition: border-color .15s, box-shadow .15s, transform .15s, background .15s; }
.b-opt:hover .b-opt-card { border-color: rgba(132, 140, 194, .5); transform: translateY(-1px); }
.b-opt input:focus-visible + .b-opt-card { outline: 2px solid var(--b-accent); outline-offset: 2px; }
.b-opt input:checked + .b-opt-card { border-color: var(--b-blue); background: linear-gradient(135deg, rgba(138, 128, 200, .28), rgba(107, 147, 214, .18)); box-shadow: 0 0 0 1px var(--b-blue), 0 8px 22px rgba(80, 90, 160, .35); }
.b-opt input:checked + .b-opt-card::after { content: "\2713"; position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; background: var(--b-grad); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
/* JS-ul vechi pune opacity pe imagini/text – lăsăm design-ul să decidă */
.b-opt-card img, .b-opt-card .b-opt-txt { opacity: 1 !important; }
.b-opt-card img { flex: none; width: 52px; height: 52px; padding: 4px; border-radius: 10px; object-fit: contain; background: rgba(255, 255, 255, .06); }
.b-opt-txt { min-width: 0; margin: 0; color: var(--b-muted); font-size: .76rem; line-height: 1.5; }
.b-opt-txt b { display: block; font-size: .9rem; color: #fff; }
.b-total { margin: 16px 0 0; padding: 12px 16px; border: 1px solid rgba(111, 207, 151, .3); border-radius: 12px; background: rgba(111, 207, 151, .08); color: #d7f5e3; font-size: .9rem; font-weight: 600; text-align: center; }
.b-total:empty { display: none !important; }
.b-amount { position: relative; max-width: 320px; }
.b-page .b-amount input[type="text"] { height: 52px !important; padding-right: 60px !important; font-size: 1.3rem !important; font-weight: 700; }
.b-amount em { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--b-muted); font-style: normal; font-weight: 700; }
.b-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.b-quick button { all: unset; padding: 5px 12px; border-radius: 99px; cursor: pointer; font-size: .76rem; font-weight: 650; color: var(--b-soft); background: rgba(132, 140, 194, .16); transition: background .15s, color .15s; }
.b-quick button:hover { color: #fff; background: rgba(132, 140, 194, .32); }

/* pași numerotați */
.b-steps { display: flex; flex-direction: column; gap: 0; }
.b-step { position: relative; padding: 0 0 22px 44px; }
.b-step:last-child { padding-bottom: 0; }
.b-step::before { content: attr(data-n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; font-weight: 750; color: #fff; background: var(--b-grad); }
.b-step::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 2px; background: var(--b-line); }
.b-step:last-child::after { display: none; }
.b-step > b { display: block; margin-bottom: 10px; font-size: .92rem; color: #fff; }

/* procente pe țări (statistici) */
.b-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.b-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: .76rem; color: var(--b-muted); background: rgba(132, 140, 194, .12); }
.b-flag img { width: 18px; height: 12px; border-radius: 2px; }
.b-flag b { color: #fff; font-weight: 650; }

@media (max-width: 760px) {
    .b-table td, .b-table th { white-space: nowrap; }
    .b-head-right { margin-left: 0; width: 100%; }
    .b-head-right .b-btn { flex: 1; }
}
